package com.youku.plugins.Tips
{
   import com.youku.interfaces.IPlugin;
   import com.youku.plugins.Tips.view.TipsMediator;
   import flash.display.MovieClip;
   import com.youku.interfaces.IPlayerProxy;
   import com.youku.plugins.PluginEventDispather;
   
   public class TipsFacade extends Object implements IPlugin
   {
      
      public function TipsFacade() {
         super();
      }
      
      private static var _instance:TipsFacade;
      
      public static function getInstance() : TipsFacade {
         if(_instance == null)
         {
            _instance = new TipsFacade();
         }
         return _instance as TipsFacade;
      }
      
      private var _tipsMediator:TipsMediator;
      
      public function init(param1:MovieClip, param2:IPlayerProxy) : void {
         this._tipsMediator = new TipsMediator(param1,param2,PluginEventDispather.getInstance());
      }
   }
}
